$(function () {
    let loginName = sessionStorage.getItem("loginName");
    if (loginName == null) {
        window.open("/login.html", "_parent");
        // window.location.href = "";
    } else {
        $("#loginName").html(loginName);
    }
});